package com.mdd.admin.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("还车记录列表Vo")
public class ReturnCarRecordListedVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "还车类型;还车类型：1、到期还车 2、提前还车")
    private Integer operationType;

    @ApiModelProperty(value = "是否保留代扣")
    private String isAmountPayment;

    @ApiModelProperty(value = "车辆损失费")
    private BigDecimal damages;

    @ApiModelProperty(value = "违约费")
    private BigDecimal backOut;

    @ApiModelProperty(value = "违章罚款")
    private BigDecimal violationFines;

    @ApiModelProperty(value = "拖车费")
    private BigDecimal trucking;

    @ApiModelProperty(value = "增值服务费")
    private BigDecimal valueAddedServices;

    @ApiModelProperty(value = "是否删除;是否删除：0、正常1、删除")
    private Integer isDelete;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
